package com.gs.weather.service.impl;


import com.gs.weather.dao.XsAreaDao;
import com.gs.weather.service.XsAreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2017/9/22 0022
 */
@Service
public class XsAreaServiceImpl implements XsAreaService{

    @Autowired
    XsAreaDao xsAreaDao;

    @Override
    public List getXsAreaName() {
        List<String> list = xsAreaDao.queryArea();
        return list;
    }
}
